package com.java.polymorphic;

/**
 * @author Lenl
 * @create 2021-05-30 0:41
 */
public class Man extends  Person {
    boolean isSmoking;

    public void earnMoney(){
        System.out.println("男人负责挣钱养家");
    }
    @Override
    public void eat(){
        System.out.println("男人多吃，长肌肉");
    }

    @Override
    public void walk() {
        System.out.println("男人霸气走路");
    }
}
